package test;

import java.io.BufferedReader;
import java.io.FileReader;

public class BufferedReaderTest {

	public static void main(String[] args) {
		BufferedReader br=null;
		try {
			String fileName="resources/work.txt";
			br=new BufferedReader(new FileReader(fileName));
			String line=br.readLine();
			System.out.println(line);
		} catch (Exception e) {
			e.printStackTrace();
		}finally {
			try {
				br.close();
			} catch (Exception e) {
				e.printStackTrace();
			}
		}

	}

}
